Release 10.1A: OpenEdge Data Management:
Database Administration
PROCLUSTER utility
The PROCLUSTER command-line interface provides a user-friendly interface to Clusters. With PROCLUSTER, you can:
Syntax
Parameters
db-nameSpecifies the fully qualified path of the database.enableEnables a database so that it will fail over properly. Before the database can be enabled, it must be created and reside on a shared disk. The database must not be in use when it is enabled as a cluster resource.
When you enable a database as a resource using PROCLUSTER enable, Clusters performs the following:
- Examines the database structure and generates a registration file.
- Logs the registration in the database’s log file.
- Performs the cluster-specific registration.
Enabling an OpenEdge database as a cluster resource creates the file
<dbname>Resources.cluster. This is a text file that contains names of resources dependent on the database resource. If the database was not enabled with any helper processes or performance enhancers like AIW, APW, BIW, WDOG, the.clusterfile will be empty; otherwise, it will contain the resource names of the dependent resources as registered with the cluster manager. Do not edit or delete this file. Clusters manages this file, and deletes it when the database is disabled.If PROCLUSTER enable is successful, it returns the following message:
-pfparams-fileSpecifies the file containing any parameters that the database requires when started.
The parameter file is required to:
AIDirects PROCLUSTER to enable the after-image files, and an AI writer as resources with a dependency on the database. After-imaging must have previously been enabled on the database. For information on after-imaging, see Chapter 7, " After-imaging."
BIDirects PROCLUSTER to enable a BI writer as a resource with a dependency on the database.
APW=nDirects PROCLUSTER to enable
nnumber of asynchronous page writers as a resource with a dependency on the database.WDOGDirects PROCLUSTER to enable the Watchdog process as a resource with a dependency on the database.
disableRemoves the identified database resource if the database has been previously enabled for failover. Specifying the database name automatically disables any other optional dependencies specified when the database was enabled.
When you remove a database resource using PROCLUSTER disable, Clusters does the following:
startStarts a cluster-enabled database. The database must have been previously enabled a cluster resource.
Note: PROCLUSTER will append-pfdb-name.pfto theproservecommand that is generated to start the database. The start command will fail if this parameter file is not found.stopStops a cluster-protected database. The database must be a cluster resource. When you stop the database with PROCLUSTER stop, Clusters does the following:
terminateForces a registered or cluster-protected database to shut down. The database must be a cluster resource.
looksaliveDetermines if a resource looks operational by querying the cluster manager cache, if available, or the active system for the status of the specified database. The database must be a cluster resource.
The looksalive exit status returns the following text if the database looks alive:
The only state of the database that returns a value of Looks Alive is when the database is enabled and started. All other states will return the following:
isaliaveDetermines if a resource is actually operational by querying the active system for the status of the specified database.
The isalive exit status returns the following text if the database returns a successful query:
All other states return the following:
Note
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |